package com.jiezhuo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezhuo.dto.IotAlarmInfoDTO;
import com.jiezhuo.entity.IotAlarmInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author shuaigesheng
 * @Date 2022 11 03 13 41
 **/
public interface IotAlarmInfoService extends IService<IotAlarmInfo> {
    List<Map<String, Object>> earlyWarningRecord(IotAlarmInfoDTO iotAlarmInfoDTO);

    List<Map<String,Object>> alarmManagement(IotAlarmInfoDTO iotAlarmInfoDTO);

    List<Map<String,Object>> unread();

    int alarmPage(IotAlarmInfoDTO iotAlarmInfoDTO);

    int getAllAlarmCount();
}
